package entity;

import java.io.Serializable;

public class Stock implements Serializable {
	private static final long serialVersionUID = -4787018654769961004L;
	private Integer code;
	private String name;
	private Integer price;
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getPrice() {
		return price;
	}
	public void setPrice(Integer price) {
		this.price = price;
	}
	@Override
	public String toString() {
		return "Stock [code=" + code + ", name=" + name + ", price=" + price + "]";
	}
	public Stock(Integer code, String name, Integer price) {
		super();
		this.code = code;
		this.name = name;
		this.price = price;
	}
	public Stock() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
